$OpenBSD: patch-ext_rack_config_ru,v 1.2 2016/04/28 13:05:31 jasper Exp $
--- ext/rack/config.ru.orig	Sat Apr 23 00:15:56 2016
+++ ext/rack/config.ru	Thu Apr 28 15:02:16 2016
@@ -14,11 +14,11 @@ ARGV << "--rack"
 # Rack applications typically don't start as root.  Set --confdir, --vardir,
 # --logdir, --rundir to prevent reading configuration from
 # ~/ based pathing.
-ARGV << "--confdir" << "/etc/puppetlabs/puppet"
-ARGV << "--vardir"  << "/opt/puppetlabs/server/data/puppetmaster"
+ARGV << "--confdir" << "${SYSCONFDIR}/puppetlabs/puppet"
+ARGV << "--vardir"  << "/var/puppetlabs/server/data/puppetmaster"
 ARGV << "--logdir"  << "/var/log/puppetlabs/puppetmaster"
 ARGV << "--rundir"  << "/var/run/puppetlabs/puppetmaster"
-ARGV << "--codedir"  << "/etc/puppetlabs/code"
+ARGV << "--codedir"  << "${SYSCONFIDR}/puppetlabs/code"
 
 # always_cache_features is a performance improvement and safe for a master to
 # apply. This is intended to allow agents to recognize new features that may be
